import { http } from "@/utils/http";
//获得患者所有的跌倒风险报告
export const getUserHistoryListApi = ()=> {
    return http({
        url:'/user/history/list',
        method:'GET'
    })
}
//通过mark获得对应跌倒风险报告
export const getUserHistoryApi = (mark:string)=> {
    return http({
        url:'/user/history',
        method:'GET',
        data:{mark}
    })
}
//获得用户历史风险自评表记录
export const getHistoryEvaluateApi = ()=> {
    return http({
        url:'/history/evaluate/list',
        method:'GET'
    })
}
//添加一条用户填写记录
export const postUserHistoryApi = (mark:any)=> {
    return http({
        url:'/user/history',
        method:'POST',
        data:mark
    })
}